package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhuguanming
 * @description 线程池参数配置
 * @date 2021/6/6 17:03
 */
@Component
@Data
@ConfigurationProperties(prefix = "gulimall.thread.pool")
public class ThreadPoolExecutorConfigProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
